/*
 * 百度在线网络技术（北京）有限公司拥有本软件版权2022并保留所有权利。
 * Copyright 2022, Baidu.com,Inc 2:Baidu Online Network Technology (Beijing) Co.,Ltd,
 * All rights reserved.
 */

package com.azdebugit.clasz.loader;

public class ClassTest {

    public void test() throws Exception{
        Class clazz = Thread.currentThread().getContextClassLoader().loadClass("com.azdebugit.clasz.loader.Dog");
        Dog student = (Dog) clazz.newInstance();
        System.out.print(student.getClass().getClassLoader());

    }
}